﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DataModels
{
    /// <summary>
    /// Type with information about the new party
    /// returned when a new party is created by the server.
    /// </summary>
    [Serializable]
    public struct CreatePartyData
    {
        //Unique ID for identifying this party with the server
        public string PartyID { get; set; }

        //Unique Access Code that the host should give to his guests
        public string AccessCode { get; set; }
    }

    /// <summary>
    /// Format that song data is returned in
    /// </summary>
    [Serializable]
    public struct SongData
    {
        public string SongID { get; set; }
        public string Artist { get; set; }
        public string Album { get; set; }
        public string Title { get; set; }
    }

    /// <summary>
    /// Format that the queues are returned in
    /// </summary>
    [Serializable]
    public struct QueueData
    {
        public SongData Song { get; set; }
        public int UpVotes { get; set; }
        public int DownVotes { get; set; }
    }

}